﻿using System;
using WindowsPhoneEssentials.Commands;

namespace WindowsPhoneMvp.Commands
{
    [Obsolete("Use DelegateCommand", true)]
    public class RelayCommand : DelegateCommand
    {
        public RelayCommand(Action execute, Func<bool> canExecute) : base(execute, canExecute)
        {
        }

        public RelayCommand(Action execute) : base(execute)
        {
        }
    }
}